package cn.cloudheritageservice8002.service;

import cn.cloudheritageservice8002.entity.CulturalHeritage;

import java.util.List;

public interface CulturalHeritageService {
    // 自定义业务方法
    List<CulturalHeritage> search(String keyword);
    CulturalHeritage createHeritage(CulturalHeritage heritage);
    CulturalHeritage updateHeritage(CulturalHeritage heritage);
    boolean deleteHeritage(Long id);
    List<CulturalHeritage> listHeritage();
    CulturalHeritage getHeritageById(Long id);
}
